module.exports = {
  devServer: {
    proxy: {
      "/api": {
        target: "https://api-hmugo-web.itheima.net/api/public/v1",
        pathRewrite: {
          "/api": "",
        },
      },
      
    },
  },
  // // http://152.136.185.210:7878
  configureWebpack: {
    resolve: {
      alias: {
        // 脚手架3中起别名可以用@代替src
        assets: "@/assets",
        components: "@/components",
        views: "@/views",
      },
    },
  },
};
